package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Delete;  
import org.apache.ibatis.annotations.Insert;  
import org.apache.ibatis.annotations.Select;  
import org.apache.ibatis.annotations.Update; 

import cn.com.api.entity.ApiU_article_reply;
import cn.com.api.entity.ApiU_dynamic_reply;
import cn.com.api.mapper.base.U_article_replyMapperBase;
import cn.com.util.PageInfo;

//DAO
public interface ApiU_article_replyMapper extends U_article_replyMapperBase {

 	//新增对象后返回记录ID
    public int U_article_replyInsertion(ApiU_article_reply u_article_reply);
    //根据条件查询
    public List<ApiU_article_reply> findU_article_replysByMapListPage(@Param("map") Map map, @Param("page") PageInfo page);
    
    //文章评论数by article_id
    public Integer getCommentCountByMap(@Param("map") Map map);
}


